package com.rybbaby.tss.front.tssRightStatistic.entity;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.io.Serializable;
import java.sql.Timestamp;

/**
 * @description 权责记录考勤列表
 * 
 * @author 雷春琼
 * 
 * @createDate 2017-08-10 上午12:23:36
 */
@Entity
@Table(name = "view_responsibility_turnover")
@DynamicUpdate(true)
@DynamicInsert(true)
public class ViewResponsibilityTurnover implements Serializable {


	private static final long serialVersionUID = -4612110852290716770L;
	/** 主键 **/
	private String id;
	/** 亲子考勤 **/
	private Double parentingAttendance;
	/** 亲子退费 **/
	private Double parentingRefund;
	/** 亲子汇总 **/
	private Double sumParenting;
	/** 过渡考勤 **/
	private Double transitionAttendance;
	/** 餐点费 **/
	private Double mealFee;
	/** 一次性物品费 **/
	private Double disposable;
	/** 过渡退费 **/
	private Double transitionRefund;
	/** 过渡汇总 **/
	private Double sumTransition;
	/** 手动扣课 **/
	private Double manualDeduction;
	/** 权责收入 **/
	private Double sumResponsibility;
	/** 权责日期 **/
	private Timestamp responsibilityTime;

	/**
	 * 方法: 取得主键
	 *
	 * @return java.lang.String 主键
	 */
	@Id
	@GeneratedValue(generator = "tss_right_statisticIDGenerator" , strategy = GenerationType.AUTO)
	@GenericGenerator(name = "tss_right_statisticIDGenerator" , strategy = "uuid")
	@Column(name = "id", nullable= false, length = 17)
	public String getId() {
		return this.id;
	}
	
	/**
	 * 方法: 设置主键
	 *
	 * @param id 主键
	 */
	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "parentingAttendance", nullable= true, length = 32)
	public Double getParentingAttendance() {
		return parentingAttendance;
	}

	public void setParentingAttendance(Double parentingAttendance) {
		this.parentingAttendance = parentingAttendance;
	}

	@Column(name = "parentingRefund", nullable= true, length = 32)
	public Double getParentingRefund() {
		return parentingRefund;
	}

	public void setParentingRefund(Double parentingRefund) {
		this.parentingRefund = parentingRefund;
	}

	@Column(name = "sumParenting", nullable= true, length = 32)
	public Double getSumParenting() {
		return sumParenting;
	}

	public void setSumParenting(Double sumParenting) {
		this.sumParenting = sumParenting;
	}

	@Column(name = "transitionAttendance", nullable= true, length = 32)
	public Double getTransitionAttendance() {
		return transitionAttendance;
	}

	public void setTransitionAttendance(Double transitionAttendance) {
		this.transitionAttendance = transitionAttendance;
	}

	@Column(name = "mealFee", nullable= true, length = 32)
	public Double getMealFee() {
		return mealFee;
	}

	public void setMealFee(Double mealFee) {
		this.mealFee = mealFee;
	}

	@Column(name = "disposable", nullable= true, length = 32)
	public Double getDisposable() {
		return disposable;
	}

	public void setDisposable(Double disposable) {
		this.disposable = disposable;
	}

	@Column(name = "transitionRefund", nullable= true, length = 32)
	public Double getTransitionRefund() {
		return transitionRefund;
	}

	public void setTransitionRefund(Double transitionRefund) {
		this.transitionRefund = transitionRefund;
	}

	@Column(name = "sumTransition", nullable= true, length = 32)
	public Double getSumTransition() {
		return sumTransition;
	}

	public void setSumTransition(Double sumTransition) {
		this.sumTransition = sumTransition;
	}

	@Column(name = "manualDeduction", nullable= true, length = 32)
	public Double getManualDeduction() {
		return manualDeduction;
	}

	public void setManualDeduction(Double manualDeduction) {
		this.manualDeduction = manualDeduction;
	}

	@Column(name = "sumResponsibility", nullable= true, length = 32)
	public Double getSumResponsibility() {
		return sumResponsibility;
	}

	public void setSumResponsibility(Double sumResponsibility) {
		this.sumResponsibility = sumResponsibility;
	}

	@Column(name = "responsibilityTime", nullable= true, length = 32)
	public Timestamp getResponsibilityTime() {
		return responsibilityTime;
	}

	public void setResponsibilityTime(Timestamp responsibilityTime) {
		this.responsibilityTime = responsibilityTime;
	}
}